DOM - Document Object Model

Created: 2022-08-08
Tags: #fleeting


The tree structure of HTML page

All stuffs in HTML becomes a DOM node. This stuffs could be element, attribute, piece of text etc..
The nodes are defined by their relationship to other DOM nodes.
Some elements are parents of child nodes, and child nodes have siblings.

Pasted image 20220808155048.png